// import Layout from '@/apps/admin/Layout/Layout.vue'
const menu = {
  path: '/content',
  meta: {
    title: '内容'
  },
  // name: 'Content',
  // component: () => import('@/layout/Empty.vue'),
  component: () => import('@/apps/admin/Layout/Layout.vue'),
  children: [
    {
      path: 'home',
      name: 'ContentHome',
      meta: { icon: 'home', title: '首页' },
      component: () => import('@/apps/admin/views/content/DashBoard.vue')
    },
    {
      path: 'list',
      meta: { icon: 'menu_book', title: '内容列表' },
      name: 'ContentList',
      component: () => import('@/apps/admin/views/content/Content.vue')
    },
    {
      path: 'category',
      meta: { icon: 'category', title: '分类管理' },
      name: 'Category',
      component: () => import('@/apps/admin/views/content/Category.vue')
    },
    {
      path: 'tags',
      meta: { icon: 'label', title: '标签' },
      name: 'Tags',
      component: () => import('@/apps/admin/views/content/Tags.vue')
    },
    {
      path: 'navmenu',
      meta: { icon: 'menu', title: '菜单' },
      name: 'NavMenu',
      component: () => import('@/apps/admin/views/content/NavMenu.vue')
    },
    {
      path: 'navmenu/create',
      meta: { icon: 'menu', title: '菜单创建', hidden: true },
      name: 'NavMenuCreate',
      component: () => import('@/apps/admin/views/content/NavMenuForm.vue')
    },
    {
      path: 'navmenu/edit/:mid',
      meta: { icon: 'menu', title: '菜单修改', hidden: true },
      props: true,
      name: 'NavMenuEdit',
      component: () => import('@/apps/admin/views/content/NavMenuForm.vue')
    },
    {
      path: 'comment',
      name: 'Comment',
      meta: { title: '评论管理', icon: 'comment' },
      component: () => import('@/apps/admin/views/content/Comment.vue')
    },
    {
      path: 'pages',
      name: 'Pages',
      meta: { title: '单页管理', icon: 'pages' },
      component: () => import('@/apps/admin/views/content/Pages.vue')
    },
    {
      path: 'special',
      meta: { title: '专题页面', icon: 'stars' },
      name: 'Special',
      component: () => import('@/apps/admin/views/content/Special.vue')
    },
    {
      path: 'carousel',
      name: 'Carousel',
      meta: { title: '轮播', icon: 'image' },
      component: () => import('@/apps/admin/views/content/Carousel.vue')
    },
    {
      path: 'feedback',
      name: 'Feedback',
      meta: { title: '意见反馈', icon: 'feedback' },
      component: () => import('@/apps/admin/views/content/Feedback.vue')
    }
  ]
}
export default menu
